import request from "@/utils/request"
// import { convertObjectUrlToBlob } from "@/utils/utils"

/**
 * 上传评价图片
 */
export function uploadReply(file) {
  const params = new FormData()
  params.append('file', file, `file-${Date.now()}`)
  return request.post('/upload-imgs/upload-reply',
    params, {
    headers: {
      'Content-Type': 'multipart/form-data'
    }
  })
}
